package com.jlnk.stockdemo.bean;

import com.jlnk.stockdemo.utils.Constants;

public class NewsRequest {
    private String api_name = "news";
    private String token = Constants.TOKEN;
    private Params params;
    private String fields;

    public NewsRequest() {
    }

    public void setParams(Params params) {
        this.params = params;
    }

    public void setFields(String fields) {
        this.fields = fields;
    }

    public static class Params {
        private String start_date;
        private String end_date;
        private String src;

        public Params() {
        }

        public void setStart_date(String start_date) {
            this.start_date = start_date;
        }

        public void setEnd_date(String end_date) {
            this.end_date = end_date;
        }

        public void setSrc(String src) {
            this.src = src;
        }
    }
}
